package com.twu.biblioteca.library;

public class Book {
    private String ISBN;
    private String name;

    public Book(String ISBN, String name) {
        this.ISBN = ISBN;
        this.name = name;
    }

    @Override
    public String toString() {
        return ISBN + "  " + name;
    }

    public boolean isISBNEqualTo(String ISBN) {
        return this.ISBN.equals(ISBN);
    }
}
